﻿using NHibernate;
using System;
using System.Collections.Generic;
using System.Linq;
using NHibernateExample.Business.Core;
using NHibernateExample.Content;

namespace NHibernateExample
{
    class Program
    {
        static void Main(string[] args)
        {
            using (ISession session = SessionFactory.OpenSession())
            {

            }
            Console.WriteLine("Done");
            Console.Read();
        }


        //var linkItem = Models.Links.Read(session, 7);

        //Models.Links.Delete(session, linkItem);
        //Models.Links.Read(session);


    }
}
